const app = getApp()
Page({
  data: {
  	list: []
  },
  onLoad() {
    wx.setNavigationBarTitle({
      title: "余额明细"
    })
    this.getData();
  },
  getData(){
    wx.showLoading({title: '加载中…'});
    app.request({
      url: '/app/bill',
      method: 'GET',
      success: res => {
        this.setData({
          list: res.data
        })
      }
    })
    wx.hideLoading();
  },
})
